package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.UserFocusMapper;
import cn.com.pet.common.entity.UserFocus;
import cn.com.pet.common.service.UserFocusService;

@Service("userFocusService")
public class UserFocusServiceImpl implements UserFocusService {

	@Autowired
	UserFocusMapper userFocusMapper;

	@Override
	public List<UserFocus> getUserFocuses(UserFocus userFocus) {
		// TODO Auto-generated method stub
		return userFocusMapper.getUserFocuses(userFocus);
	}

	@Override
	public void addUserFocus(UserFocus userFocus) {
		// TODO Auto-generated method stub
		userFocusMapper.addUserFocus(userFocus);
	}

	@Override
	public void updateUserFocus(UserFocus userFocus) {
		// TODO Auto-generated method stub
		userFocusMapper.updateUserFocus(userFocus);
	}

}
